[@@search]

abstract external fun [@@search](string: String): Int(source)

MDN Reference